home *** CD-ROM | disk | FTP | other *** search
- this was built with GNU C v1.40 with MiNT lib at PL 19. the library was
- mostly untested (i did play with testgdbm a bit).
-
-
- here are the changes to port this to GNU C on ST:
-
- - rename files to 8.3 by truncating 8 part. most notable was
- change the include for gdbmconst.h in gdbmdefs.h (now includes
- gdbmcons.h). use #ifdef atarist.
-
- - deal with L_SET like for system V: in system.h, ifdef atarist
- && __GNUC__, define L_SET and include <unistd.h> to pick up the
- macro. (otherwise, patch bucket.c,falloc.c,findkey.c,gdbmopen.c,
- gdbmstor.c,update.c,testgdbm.c). note that L_SET is BSD while
- SEEK_SET is POSIX/sysV.
-
- - MiNT (or TOS) does not have fsync(). #ifdef atarist these out
- (gdbmopen.c,gdbmreor.c,update.c). note that i wrote a dummy fsync
- which may or may not be in gdbm.olb. note: be careful with
- dummy macro since there is an instance of "if (whatever) fsync(...)".
-
- - change makefile (gdbm.a -> gdbm.olb, 8.3 name changes, etc.)
-
- - TRUNCATE should be checked. it was defined as default but testgdbm
- seemed to link.
-
- - write gdbm.ma3 from readme. get dbm.3x and ndbm.3 from unix sys.
-
-